package com.ruoyi.sycs.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 编号规则设置业务对象 sycs_bs_rule
 *
 * @author zyb
 * @date 2024-04-24
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BsRuleBo extends BaseEntity {

    /**
     * 规则id
     */
//    @NotNull(message = "规则id不能为空", groups = { EditGroup.class })
    private Long ruleId;

    /**
     * 所属试验室id
     */
//    @NotNull(message = "所属试验室id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long deptId;

    /**
     * 所属试验类型id
     */
//    @NotNull(message = "所属试验类型id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long syTypeId;

    /**
     * 规则名称
     */
//    @NotBlank(message = "规则名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ruleName;

    /**
     * 分隔符字典
     */
//    @NotBlank(message = "分隔符字典不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fgf;

    /**
     * 规则块1类型
     */
//    @NotBlank(message = "规则块1类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String p1Type;

    /**
     * 规则块1内容
     */
//    @NotBlank(message = "规则块1内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String p1Content;

    /**
     * 规则块2类型
     */
//    @NotBlank(message = "规则块2类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String p2Type;

    /**
     * 规则块2内容
     */
//    @NotBlank(message = "规则块2内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String p2Content;

    /**
     * 规则块3类型
     */
//    @NotBlank(message = "规则块3类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String p3Type;

    /**
     * 规则块3内容
     */
//    @NotBlank(message = "规则块3内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String p3Content;

    /**
     * 规则块4类型
     */
//    @NotBlank(message = "规则块4类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String p4Type;

    /**
     * 规则块4内容
     */
//    @NotBlank(message = "规则块4内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String p4Content;

    /**
     * 规则块5类型
     */
//    @NotBlank(message = "规则块5类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String p5Type;

    /**
     * 规则块5内容
     */
//    @NotBlank(message = "规则块5内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String p5Content;

    /**
     * 规则块6类型
     */
//    @NotBlank(message = "规则块6类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String p6Type;

    /**
     * 规则块6内容
     */
//    @NotBlank(message = "规则块6内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String p6Content;

    // 规则内容列表
    private List<Map> tableData;

}
